import request from "../request";
const login = async (options?: any) => {
  let data = await request({
    url: "/auth/wxLogin",
    method: "POST",
    data: options,
  });
  return data;
};
const hello = async (options?: any) => {
  let data = await request({
    url: "/sample/hello",
    method: "POST",
    data: options,
  });
  return data;
};
const getInfo = async (options?: any) => {
  let data = await request({
    url: "/system/user/getInfo",
    method: "GET",
    data: options,
  });
  return data;
};
const logout = async (options?: any) => {
  let data = await request({
    url: "/auth/logout",
    method: "POST",
    data: options,
  });
  return data;
};
export { login, hello, getInfo, logout };
